<?php
namespace PsiFramework\Classes\Util\Object;

use \PsiFramework\Classes\Util\Object\CollectionElement;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The CollectionElementText class is used to add texts to a collection
 *
 * @package Util.Object
 */
class CollectionElementText extends CollectionElement
{
    public function unserialize($value)
    {
        $jsonObject = new Json();
        $jsonObject->unserialize($value);
    
        $val = $jsonObject->getObject()->value ;
        $this->_value = $val ;
    }
}
